package com.book.breakage.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.book.breakage.entity.Accident;
import com.book.breakage.entity.Normal;
import com.book.common.entity.QueryRequest;

import java.util.List;

/**
 * @Author: 张高赫
 * @Description:  20173954
 */

public interface AccidentService extends IService<Accident> {
    /*查所有*/
    List<Accident> accidentList(Accident accident);

    /*分页*/
    IPage<Accident> accidentPage(QueryRequest request, Accident accident);

    /*新增*/
    void accidentAdd(Accident accident);

    /*修改信息*/
    void accidentUpdate(Accident accident);

    /*复选删除*/
    void accidentDelete(String[] accident);

    /*复选审批*/
    List<Accident> accidentApply(String[] accident);
}
